const _import =
  process.env.NODE_ENV === 'production'
    ? file => () => import('@/views/modules/' + file + '.vue')
    : file => require('@/views/modules/' + file + '.vue').default

export default [
  {
    path: 'monitor',
    component: _import('monitor/monitor'),
    name: 'monitor',
    meta: { title: '标签360°监控', noContentBox: true, permission: 'front:page:monitor' }
  },
  {
    path: 'glance',
    component: _import('glance/glance'),
    name: 'glance',
    meta: { title: '平台监控', noContentBox: true, permission: 'front:page:glance' }
  }
  // {
  //   path: 'monitor/indicator',
  //   component: _import('monitor/indicator'),
  //   name: 'indicator',
  //   meta: { title: '监控指标数据', permission: 'front:page:monitor' }
  // }
]
